home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 February / EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso / enigma / earcd / emula / arosdv19.lha / AROS / exec / deleteiorequest.c < prev    next >
C/C++ Source or Header  |  1996-10-24  |  1KB  |  66 lines

  1. /*
  2.     (C) 1995-96 AROS - The Amiga Replacement OS
  3.     $Id: deleteiorequest.c,v 1.5 1996/10/24 15:50:47 aros Exp $
  4.     $Log: deleteiorequest.c,v $
  5.     Revision 1.5  1996/10/24 15:50:47  aros
  6.     Use the official AROS macros over the __AROS versions.
  7.  
  8.     Revision 1.4  1996/08/13 13:56:00  digulla
  9.     Replaced AROS_LA by AROS_LHA
  10.     Replaced some AROS_LH*I by AROS_LH*
  11.     Sorted and added includes
  12.  
  13.     Revision 1.3  1996/08/01 17:41:09  digulla
  14.     Added standard header for all files
  15.  
  16.     Desc:
  17.     Lang: english
  18. */
  19. #include "exec_intern.h"
  20. #include <aros/libcall.h>
  21.  
  22. /*****************************************************************************
  23.  
  24.     NAME */
  25.     #include <exec/io.h>
  26.     #include <clib/exec_protos.h>
  27.  
  28.     AROS_LH1(void, DeleteIORequest,
  29.  
  30. /*  SYNOPSIS */
  31.     AROS_LHA(struct IORequest *, iorequest, A0),
  32.  
  33. /*  LOCATION */
  34.     struct ExecBase *, SysBase, 110, Exec)
  35.  
  36. /*  FUNCTION
  37.     Delete an I/O request created with CreateIORequest().
  38.  
  39.     INPUTS
  40.     iorequest - Pointer to I/O request structure or NULL.
  41.  
  42.     RESULT
  43.  
  44.     NOTES
  45.  
  46.     EXAMPLE
  47.  
  48.     BUGS
  49.  
  50.     SEE ALSO
  51.  
  52.     INTERNALS
  53.  
  54.     HISTORY
  55.  
  56. ******************************************************************************/
  57. {
  58.     AROS_LIBFUNC_INIT
  59.  
  60.     if(iorequest!=NULL)
  61.     /* Just free the memory */
  62.     FreeMem(iorequest,iorequest->io_Message.mn_Length);
  63.     AROS_LIBFUNC_EXIT
  64. }
  65.  
  66.